package com.longrise.android.byjk.plugins.tabthird;

import com.longrise.LEAP.Base.Objects.EntityBean;
import com.longrise.common.base.BasePresenter;
import com.longrise.common.base.BaseView;
import com.longrise.android.byjk.model.MineMultipleitem;

import java.util.List;

/**
 * Created by callxkj on 2017/3/9.
 * 我的页面contract
 */

public interface MineContract {
    interface View extends BaseView {
        void showToast(String msg);

        void refreshCustomerModule(EntityBean[] beans, List<MineMultipleitem> list);

        void refreshHeadIcon(String url);

        void refreshMycourse(EntityBean[] beans);

//        void refreshVip(int id);

//        void refreshBBye(String bbacount,String vipscores);

        void refreshName(String name);

        void refreshComplete();

        void setRefreshing(boolean isRefreshing);
    }

    abstract class Presenter extends BasePresenter<View>{
        abstract void refreshAll();

        abstract void refreshCustomerModule();

        abstract void refreshHeadIcon();

//        abstract void refreshVipIcon();

        abstract void refreshName();

//        abstract void refreshBbye();
    }
}
